package com.suning.sawp.po.task;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name = "TASK_HQ")
public class TaskHq implements Serializable{

    /**
     */
    private static final long serialVersionUID = -4792767620516769886L;

    private Long taskNo;
    
    private String taskTopic;
    
    private Date startTime;
    
    private Date endTime;
    
    private Integer taskStatus;
    
    private Integer assignStatus;
    
    private String categoryCode;
    
    private String categoryName;
    
    private Date updateTime;
    
    private String taskType;
    
    private Date createTime;

    private Integer queryType;
    
    private String checkTimeStart;
    
    private String checkTimeEnd;
    
    private Integer unequalTaskStatus;
    
    @Id
    @Column(name = "TASK_NO")
    public Long getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(Long taskNo) {
        this.taskNo = taskNo;
    }

    @Column(name = "TASK_TOPIC")
    public String getTaskTopic() {
        return taskTopic;
    }

    public void setTaskTopic(String taskTopic) {
        this.taskTopic = taskTopic;
    }

    @Column(name = "START_TIME")
    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    @Column(name = "END_TIME")
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Column(name = "TASK_STATUS")
    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    @Column(name = "ASSIGN_STATUS")
    public Integer getAssignStatus() {
        return assignStatus;
    }

    public void setAssignStatus(Integer assignStatus) {
        this.assignStatus = assignStatus;
    }

    @Column(name = "CATEGORY_CODE")
    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    @Column(name = "CATEGORY_NAME")
    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    @Column(name = "UPDATE_TIME")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Column(name = "TASK_TYPE")
    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public interface AssignStatus{
        int NO_ASSIGN = 0;
        int EDIT_ASSIGN = 1;
        int ASSIGNED = 2;
    }
    
    public interface TaskStatus{
        int CREATE = -1;
        int NO_BEGIN = 0;
        int CARRY_ON = 1;
        int ENDED = 2;
        int DELETE = 3;
    }
    
    public interface TaskType{
        String MAIN_PUSH = "1";
    }

    public Integer getQueryType() {
        return queryType;
    }

    public void setQueryType(Integer queryType) {
        this.queryType = queryType;
    }

    public String getCheckTimeStart() {
        return checkTimeStart;
    }

    public void setCheckTimeStart(String checkTimeStart) {
        this.checkTimeStart = checkTimeStart;
    }

    public String getCheckTimeEnd() {
        return checkTimeEnd;
    }

    public void setCheckTimeEnd(String checkTimeEnd) {
        this.checkTimeEnd = checkTimeEnd;
    }

    public Integer getUnequalTaskStatus() {
        return unequalTaskStatus;
    }

    public void setUnequalTaskStatus(Integer unequalTaskStatus) {
        this.unequalTaskStatus = unequalTaskStatus;
    }
    
}
